package org.ccay.manage.registry.vo;

import java.io.Serializable;

/**
 * 注册项的全信息POJO
 * @author chaowangbang
 * @since 2017年6月17日
 *
 */
public class RegistryItemFullInfoVO implements Serializable{
	private static final long serialVersionUID = 1L;
	
	/**
	 * 名称 使用类似与java包的命名方式定义名称
	 */
	private String name;
	
	/**
	 * 值(计算过的当前值)
	 */
	private String value;
	
	/**
	 * 代码中定义的值
	 */
	private String valueFromSourceCode;
	
	/**
	 * 扩展中定义的值
	 */
	private String valueFromExtInfo;
	
	/**
	 * 描述
	 */
	private String desc;
	
	/**
	 * 是否可覆盖（表示是否可以在允许在运行时可修改及可被改写）
	 */
	private boolean overwritable = false;
	
	/**
	 * 是否在代码中注册
	 */
	private boolean definedInCodeSource;
	
	/**
	 * 是否在扩展中注册
	 */
	private boolean definedInExtStore;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getValueFromSourceCode() {
		return valueFromSourceCode;
	}

	public void setValueFromSourceCode(String valueFromSourceCode) {
		this.valueFromSourceCode = valueFromSourceCode;
	}

	public String getValueFromExtInfo() {
		return valueFromExtInfo;
	}

	public void setValueFromExtInfo(String valueFromExtInfo) {
		this.valueFromExtInfo = valueFromExtInfo;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public boolean isOverwritable() {
		return overwritable;
	}

	public void setOverwritable(boolean overwritable) {
		this.overwritable = overwritable;
	}

	public boolean isDefinedInCodeSource() {
		return definedInCodeSource;
	}

	public void setDefinedInCodeSource(boolean definedInCodeSource) {
		this.definedInCodeSource = definedInCodeSource;
	}

	public boolean isDefinedInExtStore() {
		return definedInExtStore;
	}

	public void setDefinedInExtStore(boolean definedInExtStore) {
		this.definedInExtStore = definedInExtStore;
	}


}
